Top 10k strings from Spectrum Special 2 (1983)(Shiva Publishing)(16k)(Side B).tzx in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Compilations - Utilities & Educational & Various / Sinclair ZX Spectrum - Compilations - Various - [TZX] (TOSEC-v2006-06-06) /

Back to the directory listing

   4 ;"OPTIONS"
   4 ;"1.  RUN program again           2.  Display instructions        3.  LOAD next program           4.  STOP"
   4 "Select option number ";opt
   3 ;"Hit any key to continue":
   2 nj=nst-256
   2 nj=nj+inc:
   2 *ns+nj-inc>256
   2 "Start/inc of new numbers";nst,inc:
   2 "Start/end of block";stt,end:
   1 r$="123456789=?"
   1 q=h(i)+h(j)
   1 n$="1 2 3 4 5 6 7 8 9"
   1 flag=(h(j)=g)
   1 a$=a$+n$(t)
   1 HIT ANY KEY TO CONTINUE
   1 Created with Ramsoft MakeTZX
   1 ;"well done!":
   1 ;"out of bounds"
   1 ;"WELL DONE!"
   1 ;"Time runs horizontally","Population runs vertically"
   1 ;"THE VALUE IS ";
   1 ;"Sorry... wrong magic charge.    The ugly troll has eaten you.   "
   1 ;"Naughty!!!"
   1 ;"Hit any key to continue"
   1 ;"HIT ARROW KEYS, OR 0 TO RESIGN"
   1 ;"HIT ANY KEY TO START":
   1 ;"HIT ANY KEY TO CONTINUE";
   1 ;"HIT ANY KEY TO CONTINUE":
   1 ;"HARD LUCK!"
   1 ;"Congratulations! You took ";c," moves to reach the treasure."
   1 ;"123-45-67+89"
   1 ;"   Use arrow keys to move 
   1 ;"          "
   1 ;"             "
   1 9         #
   1 8         f
   1 7         -
   1 6         ]
   1 5         
   1 123456789=?N
   1 123-45-67+89V
   1 10        
   1 1 2 3-4 5-6 7+8 9C
   1 ,,"Choose a number between 0 and    1000"
   1 ''''"      
   1 '''"       1 REM This"
   1 ''"where k represents the          reproductive rate and lies      between 0 and 1000."
   1 ''"Interesting values are 766 880  897 985.  Try these first."
   1 ''"Hit any key, and input these    numbers. Then LIST and check    that all numbers between        1 and 2500 have been renumbered 1000,1010,1020, etc."
   1 ''"For additional information see  FURTHER PROGRAMMING FOR THE     ZX SPECTRUM, Shiva."
   1 ''"  NEW = k*(OLD)*(100-OLD)/250"
   1 '"You can also SAVE it in the     normal way under any name you   wish, on a spare tape.  This is likely to be more convenient!"
   1 '"If the new numbering would      make lines occur out of order,  the computer will BEEP and      renumber until the end of the   program."
   1 '"GOTO and GOSUB commands will    NOT be renumbered, and must     be edited separately.   But     using well structured programs"
   1 '"For obvious reasons, this       program cannot follow the       standard SHIVA format.  It has  been placed last to minimize    inconvenience."
   1 '"1. Type GO TO ren and hit ENTER"
   1 '"  In an obscure part of Africa  there is a lake that can hold   at most 100 hippos.   Each      year the number of hippos       changes according to the        formula:"  
   1 '"  Different inputs for k lead   to three main types of          behaviour:"
   1 '"   Enter your choices using     the number printed under each   glass to specify it."
   1 '"          
   1 "pour to? (0 to STOP) ";g
   1 "pour from? (0 to STOP) ";f
   1 "listed on lines 9979-9991.        Since it is important not to  waste space in such a program   the essential lines have been   saved on tape immediately after this program under the name     ""10""."
   1 "and sensible values for the     start of blocks will minimize   this inconvenience."
   1 "and proceed as       follows."
   1 "You can experiment using this   program.  But do not try to RUN it again without editing GOTOs  and GOSUBs.   Instead use       GO TO ren."
   1 "Use GOTO ren to try other       numbers.   To use the utility   version of this program, which  follows on the tape under the   name ""10"", just LOAD or MERGE   it with the program to be       renumbered and GO TO ren."
   1 "The chaotic behaviour is        surprising in view of the       simple formula used.   This     effect is currently the subject of much scientific research."
   1 "Suggested values for a first    try are:"
   1 "In the Magic Forest, some trees carry a 'magic charge' (here    shown by a number). You start   with zero charge. As you move   through the forest, the charge  you encounter is added on."
   1 "If the new start is smaller     than the original, the computer will BEEP and wait for new      inputs."
   1 "Choose type of display:                                           1. Numeric                      2. Graphic                      3. Colour                       4. Sound"
   1 "CHOICE OF NUMBER? ";k
   1 "2. Enter the start and finish      of the block to be renumbered3. Enter the new starting number   and increment."
   1 "  You must move from your       encampment at the left of       screen, using the arrow keys,   and seek the treasure guarded   by the white troll 
   1 "  You must leave the forest     with 
   1 "  You may not pass through any  square within the forest twice, and you must avoid the red and  yellow trolls."
   1 "  Use the arrow keys 5 and 8 to move the ^ cursor; then insert  the symbols by pressing keys    k,j,b,v repectively. These have the correct symbol marked on    them in red."
   1 "  To use this utility in your   own programs, LOAD ""10"" or      MERGE ""10"" ";
   1 "  To erase a symbol press key   X.   To verify your answer,     press key P."
   1 "  This program provides the     instructions for running a      block-renumbering program"
   1 "  The object of this puzzle is  to insert arithmetical symbols"'"         +  -  *  /"'"between the digits 123456789    in such a way as to achieve the value 100 exactly."
   1 "  The SOUND option codes the    numbers as sounds."
   1 "  The NUMERIC display prints    the actual number of hippos.      The GRAPHIC display shows     them as a graph. "
   1 "  The COLOUR display prints out a colour-coded version of the   numbers."
   1 "  Spaces between digits are     ignored when working out the    sum.   for instance "'"   1 2 3-4 5*6-7 8 9"'"is worked out as"'"     123-45*6-789."
   1 "  STEADY   (k<750)                PERIODIC (750<k<895)            CHAOTIC  (k>895)"
   1 "  Experiment to see how the     hippo population varies from    year to year.  There are five   optional types of display,      listed in the MENU."
   1 "  But, being magic, the adds    ignore carries: so 5+7 is just  2, not 12, and so on."
   1 "  5. Both"
   1 "   start      1                    end        2500                 new start  1000                 increment  10"
   1 "   You may pour wine from any   glass to any other, but you     may stop pouring only if one    glass becomes full or the       other empty."
   1 "   To stop at any time, enter 0"
   1 "   This is a 
   1 "   The object is to share the   wine into 
   1 "    5539 REM in selected blocks"
   1 "    5.  Display one possible            answer"
   1 "    3422 REM lines of BASIC"
   1 "     735 REM to renumber"
   1 "      93 REM program"
   1 "       7 REM is a utility"
   1  version   of a famous puzzle.  You have   three glasses, which hold       respectively 8, 5, and 3        measures of wine."
   1  on the    right."
   1  magic charge to       defeat the 
   1  equal parts, of   size 4 each."
   1  SHIVA PUBLISHING 1983    "
   1         Use k for +     j for -             b for *     v for /             x to erase  p to verify"